/* @(#)GSBusEmergencyOrderConfirmDetailVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-4-17     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSBusEmergencyOrderConfirmDetailVO implements GSBaseBean{
    public String orderId;
    public String orderDetailId;
    public String deliverGoodsId;
    public double signCount;
    public double signPrice;
    public String isTradeFlatManuf;
    public String isTradeFlatProvider;
    public String concentricityId;
    public String manufName;
    public String manufType;
    public String manufSpec;
    public String manufBrand;
    public String providerName;
    public double orderCount;
    public double unitPrice;
    public String quantUnit;
    public String providerId;
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSBusEmergencyOrderConfirmDetailVO tVO = new GSBusEmergencyOrderConfirmDetailVO();
        tVO.orderDetailId = aResultSet.getString("P1");
        tVO.concentricityId = aResultSet.getString("P2");
        tVO.manufName = aResultSet.getString("P3") == null? "":aResultSet.getString("P3").trim();
        tVO.manufSpec = aResultSet.getString("P4") == null? "":aResultSet.getString("P4").trim();
        tVO.manufType = aResultSet.getString("P5") == null? "":aResultSet.getString("P5").trim();
        tVO.manufBrand = aResultSet.getString("P6") == null? "":aResultSet.getString("P6").trim();
        tVO.providerName = aResultSet.getString("P7") == null? "":aResultSet.getString("P7").trim();
        tVO.orderCount = aResultSet.getDouble("P8");
        tVO.quantUnit = aResultSet.getString("P9") == null? "":aResultSet.getString("P9").trim();
        tVO.unitPrice = aResultSet.getDouble("P10");
        tVO.orderId = aResultSet.getString("P11") == null? "":aResultSet.getString("P11").trim();
        tVO.isTradeFlatManuf = aResultSet.getString("P12");
        tVO.providerId = aResultSet.getString("P13");
        tVO.isTradeFlatProvider = aResultSet.getString("P14");
        tVO.signPrice = aResultSet.getDouble("P15");
        tVO.signCount = aResultSet.getDouble("P16");
        return tVO;
    }
}
